package com.demo.demo.domain;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "subgx")
public class SubGx {

    @Id
    private long onlyC;
    //子工序编码
    private String code;
    //子工序名称
    private String name;
    //子工序Id
    private long gxid;

    public long getOnlyC() {
        return onlyC;
    }

    public void setOnlyC(long onlyC) {
        this.onlyC = onlyC;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getGxid() {
        return gxid;
    }

    public void setGxid(long gxid) {
        this.gxid = gxid;
    }
}
